package com.entity.threeConnect;


import java.io.Serializable;


public class ThirdUserInfo implements Serializable{
	private static final long serialVersionUID = -1L;
	//用户公众号的标识
	private String openId;

	private String unionid;
	// 昵称
	private String nickname;
	// 用户的性别（1是男性，2是女性，0是未知）
	private Integer sex;
	// 用户所在国家
	private String country;
	// 用户所在省份
	private String province;
	// 用户所在城市
	private String city;
	// 用户头像
	private String headImgUrl;
	private String phone;

	/**
	 * 0微信公众号 1 微信小程序 2支付宝
	 */
	private Integer platform;

	//云美集官方平台用户的标识
	private String officialOpenId;

	private String officialUnionid;
	//用户小程序的标识
	private String MinaOpenId;
	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getNickname() {
		return  nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getSex() {
		if(sex==null)
		{
			return 0;
		}
		return sex;

	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getHeadImgUrl() {
		return "".equals(headImgUrl)?null:headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the unionid
	 */
	public String getUnionid() {
		return unionid;
	}

	/**
	 * @param unionid the unionid to set
	 */
	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}

	public Integer getPlatform() {
		return platform;
	}

	public void setPlatform(Integer platform) {
		this.platform = platform;
	}

	public String getOfficialOpenId() {
		return officialOpenId;
	}

	public void setOfficialOpenId(String officialOpenId) {
		this.officialOpenId = officialOpenId;
	}

	public String getOfficialUnionid() {
		return officialUnionid;
	}

	public void setOfficialUnionid(String officialUnionid) {
		this.officialUnionid = officialUnionid;
	}

	public String getMinaOpenId() {
		return MinaOpenId;
	}

	public void setMinaOpenId(String minaOpenId) {
		MinaOpenId = minaOpenId;
	}
}
